<template>
  <view class="definite">
    <u-navbar :is-back="true" title="关于我们" back-text="">
      <view
        class="slot-right"
        style="width: 100%; display: flex; justify-content: flex-end"
      >
        <view style="padding: 0rem 0.5rem; display: flex; align-items: center">
          <!-- <view style="
font-size: 0.75rem;
font-family: PingFang SC;
font-weight: 300;
color: #02AF74;" >员工规则</view> -->

          <!-- <image style="width: 0.7rem;
height: 0.5rem;
padding: 0.3rem;" src="../../../style/image/my/bottomArrow.jpg" alt=""> -->
        </view>
      </view>
    </u-navbar>
    <view class="item">
      <view class="app">
          <image style="width: 100%;height: 100%;border-radius: 0.7rem;" class="" src="../../style/image/my/app.jpg" alt="">
      </view>
      <view class="name">{{allData.name}}</view>
    </view>
    <view class="version">
      <span>昵称</span>
       <span>
      <span style="color:#999999;font-size: 0.7rem;">已是1.0最新版本</span>
        <image class="image" src="../../style/image/cargo/back.png" alt="">
      </span>
    </view>
     <view  @click="goCompany" class="version">
      <span>公司介绍</span>
      <image class="image" src="../../style/image/cargo/back.png" alt="">
    </view>
  </view>
</template>

<script lang='ts' >
import { Component, Prop, Vue, Watch, Emit } from "vue-property-decorator";

import uNavbar  from  '../../uview-ui/components/u-navbar/u-navbar.vue'

@Component({
  //   @Component  是一个装修器   不可以在下面写语句
  name: "test",
   components:{
    'u-navbar':uNavbar,
  }
})
export default class extends Vue {
  @Prop({
    type: String, // 父组件传递给子组件的数据类型
    required: false, // 是否必填
    default: " ", // 默认值， 如果传入的是 Object，则要 default: ()=>({}) 参数为函数
  })
  msg!: string;


  public allData=''

  created() {}

  mounted() {
    //  console.log('父组件传递的参数:',this.$parent)   //暂时不考虑

    this.allData= uni.getStorageSync("otherData").obrandConfig.proxyAppConfig


   console.log( uni.getStorageSync("otherData").obrandConfig.proxyAppConfig,'99988888')

   
  }

  goCompany(){

    uni.navigateTo({
      url: "../../pages/my/company",
    });

  }
  
}
</script>

<style  scoped>
.item {
  padding: 2rem;
  text-align: center;
  border-top: 0.05rem #f3f5f7 solid;
}
.app {
  width: 3.65rem;
  height: 3.65rem;
  background: #eeeeee;
  border-radius: 1rem;
  margin: 0 auto;
}
.name {
  padding-top: 0.8rem;
  font-size: 0.75rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #000000;
  line-height: 1rem;
}
.version {
  padding: 0.7rem 0;
  margin: 0 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #000000;
  background: #ffffff;
  border-bottom: 0.09rem #f3f5f7 solid;
}
.image {
  width: 0.3rem;
  height: 0.57rem;
  padding-left: 0.5rem;
}
</style>